Azure Maps Dataset Service (preview:2022-09-01)

2025/10/06 • 5 deleted methods

Dataset_Create (removed)
Description This API allows the caller to create a dataset from data that was uploaded to the [Azure Maps Data Service](https://docs.microsoft.com/en-us/rest/api/maps/data-v2) and converted using the [Azure Maps Conversion Service](https://docs.microsoft.com/en-us/rest/api/maps/v2/conversion). You can also create a dataset directly using data uploaded to the [Azure Maps Data Service](https://docs.microsoft.com/en-us/rest/api/maps/data-v2), provided that the uploaded data is a zip of GeoJSON files conforming to the [facility ontology](https://docs.microsoft.com/en-us/azure/azure-maps/creator-facility-ontology) format. For more information on how to create a dataset from a zip of GeoJSON files, please visit this [article](https://aka.ms/howtofacilitygeojson) ### Submit Create Request To create your dataset, issue a `POST` request with the required parameters. The Create API is a [long-running operation](https://aka.ms/am-creator-lrt-v2).
Reference Link ¶

⚼ Request

POST:  /datasets
{
x-ms-client-id: string ,
api-version: string ,
conversionId: string ,
udid: string ,
outputOntology: string ,
datasetId: string ,
description: string ,
}

⚐ Response (202)

{
operation-location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Dataset_List (removed)
Description This API allows the caller to fetch a list of all previously successfully created datasets. ### Submit List Request To list all your datasets, issue a `GET` request with no additional parameters. ### List Data Response Here's a sample response returning the `timestamp`, `datasetId`, `description`, `datasetSources`, and `ontology` of 2 dataset resources: ```json { "datasets": [ { "timestamp": "2020-01-01T22:50:48.123Z", "datasetId": "f6495f62-94f8-0ec2-c252-45626f82fcb2", "description": "Some description or comment for the dataset.", "datasetSources": { "udids": [ "15d21452-c9bb-27b6-5e79-743ca5c3205d" ], }, "ontology": "facility-2.0", "featureCounts": { "directoryInfo": 2, "category": 10, "facility": 1, "level": 3, "unit": 183, "zone": 3, "verticalPenetration": 6, "opening": 48, "areaElement": 108 } }, { "timestamp": "2020-01-01T22:57:53.123Z", "datasetId": "8b1288fa-1958-4a2b-b68e-13a7i5af7d7c", "description": "Create from upload '0c1288fa-2058-4a1b-b68d-13a5f5af7d7c'.", "datasetSources": { "conversionIds": [ "0c1288fa-2058-4a1b-b68d-13a5f5af7d7c" ], "udids": [ "15d21452-c9bb-27b6-5e79-743ca5c3205d" ] "appendDatasetId": "46d1edb6-d29e-4786-9589-dbd4efd7a977" }, "ontology": "facility-2.0", "featureCounts": { "directoryInfo": 2, "category": 10, "facility": 1, "level": 3, "unit": 183, "zone": 3, "verticalPenetration": 6, "opening": 48, "areaElement": 108 } } ] } ```
Reference Link ¶

⚼ Request

GET:  /datasets
{
x-ms-client-id: string ,
api-version: string ,
}

⚐ Response (200)

{
datasets:
[
{
created: string ,
datasetId: string ,
ontology: string ,
description: string ,
datasetSources:
{
conversionIds:
[
string ,
]
,
udids:
[
string ,
]
,
appendDatasetId: string ,
}
,
featureCounts: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Dataset_Get (removed)
Description This API allows the caller to fetch a previously successfully created dataset. ### Submit Get Details Request To get the details for a previously created dataset, you will issue a `GET` request with the `datasetId` in the path. ### Get Details Response Here's a sample response returning the `timestamp`, `datasetId`, `description`, `datasetSources`, and `ontology` of a dataset resource: ```json { "timestamp": "2020-01-01T22:50:48.123Z", "datasetId": "f6495f62-94f8-0ec2-c252-45626f82fcb2", "description": "Some description or comment for the dataset.", "datasetSources": { "conversionIds": [ "0c1288fa-2058-4a1b-b68d-13a5f5af7d7c" ], "udids": [ "15d21452-c9bb-27b6-5e79-743ca5c3205d" ] "appendDatasetId": "46d1edb6-d29e-4786-9589-dbd4efd7a977" }, "ontology": "facility-2.0", "featureCounts": { "directoryInfo": 2, "category": 10, "facility": 1, "level": 3, "unit": 183, "zone": 3, "verticalPenetration": 6, "opening": 48, "areaElement": 108 } } ```
Reference Link ¶

⚼ Request

GET:  /datasets/{datasetId}
{
x-ms-client-id: string ,
api-version: string ,
datasetId: string ,
}

⚐ Response (200)

{
created: string ,
datasetId: string ,
ontology: string ,
description: string ,
datasetSources:
{
conversionIds:
[
string ,
]
,
udids:
[
string ,
]
,
appendDatasetId: string ,
}
,
featureCounts: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Dataset_Delete (removed)
Description You can use this API to delete old/unused datasets to create space for new Creator content. ### Submit Delete Request To delete your content you will issue a `DELETE` request where the path will contain the `datasetId` of the dataset to delete.
Reference Link ¶

⚼ Request

DELETE:  /datasets/{datasetId}
{
x-ms-client-id: string ,
api-version: string ,
datasetId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Dataset_GetOperation (removed)
Description This API allows the caller to view the current progress of a dataset operation and the path is obtained from a call to the Create API. ### Submit Operations Request To view the current progress of a dataset operation, you will use a `GET` request where the `operationId` is the ID representing the operation. ### Operation Response While in progress, a `200-OK` http status code will be returned with no extra headers. If the operation succeeds, a `200-OK` http status code with Resource-Location header will be returned.
Reference Link ¶

⚼ Request

GET:  /datasets/operations/{operationId}
{
x-ms-client-id: string ,
api-version: string ,
operationId: string ,
}

⚐ Response (200)

{
$headers:
{
resource-location: string ,
}
,
$schema:
{
operationId: string ,
status: enum ,
created: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
warning:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}